Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODCanvas


SetPlatformPrintJob

The SetPlatformPrintJob method assigns the print job for the specified graphics system to this canvas.

void SetPlatformPrintJob (in ODGraphicsSystem g, 
                          in ODPlatformPrintJob j);
g
A 16-bit value specifying the graphics system whose print job you are setting. Valid graphics systems are platform dependent.
j
A 32-bit value identifying the graphics-system-specific print job to assign to this canvas, or kODNULL to clear the print job. Valid values for j are graphics-system-dependent.
DISCUSSION
You need to call this method only when you are creating a static canvas to use as a print job.

On the Mac OS platform, the graphics system may be either QuickDraw (kODQuickDraw) or QuickDraw GX (kODQuickDrawGX). For QuickDraw, the platform print job should be a QuickDraw print job (type THPrint); for QuickDraw GX, it should be a QuickDraw GX print job (type gxJob).

SEE ALSO
The ODGraphicsSystem type (page 883).
The ODCanvas::GetPlatformPrintJob method (page 71).
The ODCanvas::HasPlatformPrintJob method (page 75).
"Printing the Document" on page 174 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help